﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Com.CMS263.PO;
using Com.CMS263.DAO;

namespace Com.CMS263.BLL
{
    public class MessageBLL:BaseBLL<Message>
    {
        public MessageBLL() { }
        MessageDAO dao = new MessageDAO();
        public Message entity = new Message();
        public override Message GetModel()
        {
            return entity;
        }

        public IList<Message> GetListByPager(int typeid, int page, int pagesize)
        {
            return dao.GetListByPager(typeid, page, pagesize);
        }

        public int GetListByPager(int typeid)
        {
            return dao.GetListByPager(typeid);
        }
    }
}
